package com.boot.service;

import com.boot.pojo.CompensateRecords;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface PaymentService {
    boolean deduct(@Param("userId") Long userId, @Param("amount") BigDecimal amount);
    boolean compensateDeduct(CompensateRecords compensateRecords);
}
